package com.jzmy.cultivate.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.jzmy.cultivate.entity.Courses;
import com.jzmy.cultivate.entity.vo.CoursesAndTeacherVo;
import com.jzmy.cultivate.entity.vo.CoursesListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 课程表
 * @author mengzhichao
 * @create 2022-08-25-11:33
 */
public interface CoursesDao extends BaseMapper<Courses> {

    //列表查询接口
    List<CoursesListVo> dyGetUserList(Page<CoursesListVo> page, Map map);

    //详情查询接口
    CoursesAndTeacherVo selCourseDetail(@Param("id")Long id);
}
